<include file="public:top"/>
<link href="__PUBLIC__/bootstrap3.0/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
<script src="__PUBLIC__/bootstrap3.0/js/bootstrap-datetimepicker.min.js"></script>
<div class="container">
    <div class="maincontent">
        <h3 class='pull-left'>
            <i class="glyphicon glyphicon-book"></i>
            用户信息<small>User information</small>
        </h3>
        <div class="pull-right addButton">
            <a href="<?php echo Url::indexGroup()?>">返回用户分组列表</a>
        </div>
        <div class='clear'></div>
        <div class='hr'></div>
        <div class="row-space">
            <form  id='groupFrom' role="form" method="post" action="">
                <div id='alert' name='alert'></div>
                <div>
                    <div class="admin">
                        <div class="col-sm-2">
                            <div class="checkbox">
                                <label>
                                    <input type="checkbox" value="<?php echo UserModel::ADMIN_USER;?>" id='adminUser' name='adminUser' <?php echo strpos($rule, UserModel::ADMIN_USER) !== false ? "checked='checked'" : "";?>> 超级管理员
                                </label>
                            </div>
                        </div>
                        <div class="clear"></div>
                        <div class="hr"></div>
                    </div>
                    <div class="manager">
                       <div class="col-sm-2">
                            <div class="checkbox">
                                <label class="user_role">
                                    <input type="checkbox" value="<?php echo UserModel::MANAGER_USER;?>" id='managerUser' name='managerUser' <?php echo strpos($rule, UserModel::MANAGER_USER) !== false ? "checked='checked'" : "";?>> 管理员
                                </label>
                            </div>
                        </div>
                        <div class="clear"></div>
                        <div class="hr"></div>
                    </div>
                    <div>
                        <div class="col-sm-2">
                            <div class="checkbox">
                                <label class="user_role">
                                    <input type="checkbox" value="<?php echo UserModel::USER_INSERT;?>" id='userInsert' name='userInsert' <?php echo strpos($rule, UserModel::USER_INSERT) !== false ? "checked='checked'" : "";?>> 写
                                </label>
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="checkbox">
                                <label class="user_role">
                                    <input type="checkbox" value="<?php echo UserModel::USER_UPDATE;?>" id='userUpdate' name='userUpdate' <?php  echo strpos($rule, UserModel::USER_UPDATE) !== false ? "checked='checked'" : "";?>> 修改
                                </label>
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="checkbox">
                                <label class="user_role">
                                    <input type="checkbox" value="<?php echo UserModel::USER_DELETE;?>" id='userDelete' name='userDelete' <?php echo strpos($rule, UserModel::USER_DELETE) !== false ? "checked='checked'" : "";?>> 删除 <strong>(非物理删除)</strong>
                                </label>
                            </div>
                        </div>
                        <div class="clear"></div>
                        <div class="hr"></div>
                    </div>
                    <div>
                        <div class="col-sm-2">
                            <div class="checkbox">
                                <label class="user_role">
                                    <input type="checkbox" value="<?php echo UserModel::USER_REPLY;?>" id='userReply' name='userReply' <?php echo strpos($rule, UserModel::USER_REPLY) !== false ? "checked='checked'" : "";?>> 回复
                                </label>
                            </div>
                        </div>
                        <div class="clear"></div>
                        <div class="hr"></div>
                    </div>
                </div>
                <div class="text-right">
                    <button type="submit" id='groupButton' tabindex='3' class="btn btn-default">提交</button>
                </div>
            </form>
        </div>
    </div>
</div>
<include file="public:footer"/>

